<?php


namespace Xiaoguai\DesignPattern\DP006;


interface AggregateInterface
{
    public function add($object);

    public function remove($object);

    public function getIterator(): IteratorInterface;
}